<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/11/011
 * Time: 13:43
 */

namespace app\index\interfaceIn;


use app\Lib\InterfaceIn\Api\Api;
use app\Lib\Ioc\AdminAuth\MenuManage;

class addMenu extends Common implements Api
{
    public function handle()
    {
        $data = $this->param->postData;
        $result = (new MenuManage())->addMenu($data);
        return  $this->returnCreate($result);
    }

    public function check()
    {
        return true;
    }

}